1 00:00:00,000 --> 00:00:14,440 This is Hacker Public Radio episode 3,775 for Friday the 20th of January 2023. 2 00:00:14,440 --> 00:00:22,880 Today's show is entitled, Emergency Show Posted in 2014, how to make a punch card computer. 3 00:00:22,880 --> 00:00:27,360 It is hosted by Mike Reng and is about 14 minutes long. 4 00:00:27,360 --> 00:00:29,960 It carries a clean flag. 5 00:00:29,960 --> 00:00:40,720 The summary is, how to make a punch card computer from stuff from the kitchen. 6 00:00:40,720 --> 00:00:44,560 Hi everybody, we're really short of shows at the moment, so I've had to take this one 7 00:00:44,560 --> 00:00:46,920 out of the reserve queue. 8 00:00:46,920 --> 00:00:49,560 If you have shows, can you please send them in? 9 00:00:49,560 --> 00:00:54,000 Because HPR is a project will cease to exist if we don't continue to get shows from 10 00:00:54,000 --> 00:01:04,000 listeners like you. 11 00:01:04,000 --> 00:01:06,400 Hello, welcome to Hacker Public Radio. 12 00:01:06,400 --> 00:01:07,400 My name is Mike Ray. 13 00:01:07,400 --> 00:01:11,560 You're hearing that sound because this is an emergency show. 14 00:01:11,560 --> 00:01:15,600 HPR is running low on scheduled podcasts. 15 00:01:15,600 --> 00:01:28,160 If you would like to submit a show, email admin at HackerPublicRadio.org for more information. 16 00:01:28,160 --> 00:01:32,160 This is something I've had in my head for decades. 17 00:01:32,160 --> 00:01:40,600 I can vaguely remember when I was very small, making one of these punch card computers. 18 00:01:40,600 --> 00:01:44,040 It may have been me or may have been my older brother. 19 00:01:44,040 --> 00:01:51,040 And I think we probably made it in response to seeing it on the TV or reading it in a book 20 00:01:51,040 --> 00:01:53,760 or something. 21 00:01:53,760 --> 00:02:01,640 I have this vague recollection of a serial box with some of my mum's knitting needles sticking 22 00:02:01,640 --> 00:02:08,360 through the box and putting out the needles and card dropping out at the bottom. 23 00:02:08,360 --> 00:02:12,240 Now, we're not going to use knitting needles, but we're going to update it a bit. 24 00:02:12,240 --> 00:02:18,240 I've not done it since I was probably over 40 years ago, but it's just something I've 25 00:02:18,240 --> 00:02:20,880 remembered for years. 26 00:02:20,880 --> 00:02:29,480 So what you will need, the main body of the computer consists of an empty breakfast 27 00:02:29,480 --> 00:02:32,480 serial box. 28 00:02:32,480 --> 00:02:38,960 Of any sort of average size, or just a normal breakfast serial size box, the first thing 29 00:02:38,960 --> 00:02:45,320 to do is to cut off the flaps at the top of the box, where the box has been opened 30 00:02:45,320 --> 00:02:48,400 and the serial has been removed. 31 00:02:48,400 --> 00:02:53,560 Throw the flaps away except for one of the long flaps from the long side of the box. 32 00:02:53,560 --> 00:02:58,880 We're going to use that on that made coming handy as a template when we get a little bit 33 00:02:58,880 --> 00:03:02,880 further on down what we're going to do. 34 00:03:02,880 --> 00:03:09,480 The other thing we're going to need is some cards about the same width as the box, and 35 00:03:09,480 --> 00:03:15,680 these can be made from another serial box, sliced up. 36 00:03:15,680 --> 00:03:21,400 An empty box of the same sort of size will yield about four cards, possibly six if you 37 00:03:21,400 --> 00:03:27,520 make them not very deep from top to bottom. 38 00:03:27,520 --> 00:03:43,760 Another thing you need is some bamboo skewers, these are the things that are going to take the place of the knitting needles, in the example I was talking about, from when I was very young, Richard Storman was studying short trousers. 39 00:03:43,760 --> 00:03:52,240 You're going to need some scissors and or a sharp craft knife, possibly some glue, preferably 40 00:03:52,240 --> 00:04:00,600 a heavy eye or something washable, and optionally some sticky tape. 41 00:04:00,600 --> 00:04:15,840 So what you do, the first thing we're going to do is to make a shoot, a sort of shoot at the bottom of the box, now the box, when it's used as computer, it's going to stand on the table. 42 00:04:15,840 --> 00:04:34,960 And it's bottom, the way it would stand normally, and we're going to cut a flap out of the bottom and stick it back as a shoot and now we do this by making a horizontal cut across the box, about four inches. 43 00:04:34,960 --> 00:04:52,200 That tends to be just also above the bottom, so it's horizontal cut all the way across, and then we're going to cut down the front edges of the box, from that horizontal cut down to the bottom of the box. 44 00:04:52,200 --> 00:05:00,480 Now this will form a flap that you can fold out by sticking hand in the top of the box and pushing outwards. 45 00:05:00,480 --> 00:05:18,000 Now when you're done that, you need to make a fold in that flap, about a centimeter or half an inch from the front edge of the flap, which came away from the horizontal slot that you cut across the box. 46 00:05:18,000 --> 00:05:42,400 Then you push the new coat that the inside of that flap between the fold and the edge with glue, and then you push it back into the box until the glued part of that flap is against the back wall of the box, and then use some sticky tape to stick it down while the glue dries. 47 00:05:42,400 --> 00:05:56,960 If you can imagine what that forms is a kind of shoot at the bottom, if you drop something into the top of the box now, it will hit the shoot and slide out the hole in the front where the shoot was cut away from. 48 00:05:56,960 --> 00:06:21,280 Now take the long flap that you cut from the top of the box and draw a horizontal line across it across the wide length of it, about halfway down, so that you're effectively dividing the flap into two halves along its length. 49 00:06:21,280 --> 00:06:47,280 And here's where we need to do some rest of the check. You're going to mark out eight or perhaps even 16 points along the line, equally distant, so if you've got eight, if it's an eight bit computer, you've got eight points, so there are nine gaps between the points. 50 00:06:47,280 --> 00:06:55,280 Measure the width as a flap, mark off the points with a ruler, and then stick that to one side. 51 00:06:55,280 --> 00:07:15,280 Now we're going to punch some holes in the box at near the top, near the opening, and we're going to do this by holding the template flat that we've just made at the top, against the box, and punching through with a bamboo barbecue skewer, 52 00:07:15,280 --> 00:07:44,280 or something sharp, or perhaps a knitting needle, if such things still exist, to make the holes in the box, to take the needle, to take the bamboo skewers, and we're going to do the same on the other side, because the bamboo skewers are going to pass all the way through the box from front to back, and they need to be quite accurately inserted, so that each skewer is the same distance from the top of the box. 53 00:07:44,280 --> 00:07:53,280 The same distance between the tenets and its neighbors, and so the skewers are nice and parallel. 54 00:07:53,280 --> 00:08:13,280 So once you've done that, if you imagine you've done eight holes, and you've inserted eight skewers, you've got eight parallel skewers passing all the way through the box, a bit like a magic trick, where a man sticks a sword through a wardrobe with a beautiful blonde inside it. 55 00:08:13,280 --> 00:08:24,280 So now we've made the body as a computer with the eight or 16 or nine or 10, we can make a nine-bit computer skewers through the box, we're going to make the cards. 56 00:08:24,280 --> 00:08:31,280 Now we need to make, if we've got an eight-bit computer, that's got eight skewers through it, we're going to need to make eight cards. 57 00:08:31,280 --> 00:08:42,280 These cards need to be almost as wide as the box, but not quite, so that they fit nice and snug, but with no friction in the top of the box. 58 00:08:42,280 --> 00:09:03,280 The depth of them needs perhaps about four or five inches, 10 or 12 centimeters from top to bottom, big enough to write some stuff on, but not deep enough to be visible through the hole at the bottom where you cut the flat for the shoot. 59 00:09:03,280 --> 00:09:14,280 Along the long edge of each card, you're going to measure and make some holes that we need our template again for this. 60 00:09:14,280 --> 00:09:23,280 It's simply to use to make the holes for the skewers, we're going to hold against each card and punch some holes. 61 00:09:23,280 --> 00:09:38,280 Again, probably starting with using a bamboo skewer, but the holes need to be bigger than the diameter of the skewer, perhaps about five millimeters or a quarter of an inch or so in diameter. 62 00:09:38,280 --> 00:09:56,280 It's nice and wide so that the skewer passes easily through the holes. A single hole handheld hole punch is good for this, but it's not absolutely necessary. It doesn't matter if the holes are square, as long as the hole is bigger than the actual skewer. 63 00:09:56,280 --> 00:10:19,280 Then the holes line up where the skewers are. Once you've made eight of those cards, take each card in turn and convert seven out of the eight holes into slots by slicing from the side of the hole to the top of the card. 64 00:10:19,280 --> 00:10:42,280 You actually remove a little piece of card between the hole and the top edge so you've now got, with each card you've now got one hole and seven slots and for card zero, the left hand hole, if it's a little Indian, is still a hole and the rest of the slots. 65 00:10:42,280 --> 00:11:02,280 The next card, the first one will be a slot, the next one will be a hole and the remaining six are slots. So you can probably see where I'm going with this, you do it with each card and in each in turn, holes zero to seven become, that remain as holes and the rest become slots. 66 00:11:02,280 --> 00:11:17,280 So now we've made our cards, we need some data to put on the cards. It would help if you've got eight children at this point because if you've got eight children, you need never forget their birthdays ever again. 67 00:11:17,280 --> 00:11:32,280 So write a piece of data on each card and write something on the box next to the hole which corresponds to the intact hole on the card. 68 00:11:32,280 --> 00:11:52,280 Once you've written all the data, then put the cards together in a stack and put them into the top of the box, hold them with one hand and then insert the skewers through the holes and the slots, through the front of the computer and out the back. 69 00:11:52,280 --> 00:12:06,280 So when you stand it up on its bottom end, what you've got is a cereal box with a nice slippery show to the bottom where something can come out. 70 00:12:06,280 --> 00:12:23,280 Eight skewers through the top of the box in a line and eight punched cards suspended in the top of the box, but of course each card has got seven slots and one hole, each in a different position. 71 00:12:23,280 --> 00:12:43,280 Each card is only held in position and prevented from falling by one skewer. So if you now pull out one of the skewers, the card which corresponds to that skewer should drop out the bottom. 72 00:12:43,280 --> 00:13:02,280 If you have eight children and a third one was called Bobby, pull out Bobby's skewer and Bobby's card will drop out the bottom with his birthday on it and that is a punched card computer. 73 00:13:02,280 --> 00:13:21,280 I know that some people will be saying, well that's not a computer and it's not and it's eight bits and it's only got eight bits of random access memory and the main problem with it is that each time you remove a piece of data by putting out the skewer, that data is not copied. 74 00:13:21,280 --> 00:13:33,280 You've not got the data out, but it's still in the computer it's just the computer now only contains seven bits of data. So it's not really a computer, but it's fun. 75 00:13:33,280 --> 00:13:55,280 Like I say, it's one of those things I have, why you back in a dim and distant past, my brain, one of these days I'm going to get round to making another one. Oh, I should do a little bit of trouble shooting information here. If for some reason, when you pull out a skewer, nothing drops through. 76 00:13:55,280 --> 00:14:08,280 This could be because of a number of reasons, there's too much friction between the cards. Now when you load the cards into the top of the computer, try and sort of spread them out a little bit so they're not all packed closely in together. 77 00:14:08,280 --> 00:14:35,280 These are the cards that are too wide and there's some friction between the left and right edges of the cards and the side of the dots, or it could be because the slots are not wide enough and are actually producing some friction between the remaining skewers and the side of the slot so that the card is unable to drop down when you pull out its skewer. 78 00:14:35,280 --> 00:14:51,280 Those are the only things that we can go wrong. It's as simple as that. If you make this, then you really need to get out more and stop wasting your time and everybody else is. 79 00:14:51,280 --> 00:15:10,280 You have been listening to Hacker Public Radio at HackerPublicRadio.org. Today's show was contributed by a HBR listening like yourself. If you ever thought of recording podcasts, click on our contribute link to find out how easy it means. 80 00:15:10,280 --> 00:15:27,280 HostingPrHBR has been kindly provided by an onsthost.com, Internet Archive and our Sync.net. On the side of our status, today's show is released on our Creative Commons at Tribution 4.0 International License.